@import './styles/global.less';
@font-face {
  font-family: 'titleFont';
  font-display: swap;
  src: url('//at.alicdn.com/t/webfont_35k80l1hbcv.eot'); /* IE9*/
  src: url('//at.alicdn.com/t/webfont_35k80l1hbcv.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */ url('//at.alicdn.com/t/webfont_35k80l1hbcv.woff2') format('woff2'),
    url('//at.alicdn.com/t/webfont_35k80l1hbcv.woff') format('woff'),
    /* chrome、firefox */ url('//at.alicdn.com/t/webfont_35k80l1hbcv.ttf') format('truetype'),
    /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/ url('//at.alicdn.com/t/webfont_35k80l1hbcv.svg#站酷小薇体')
      format('svg'); /* iOS 4.1- */
}
* {
  cursor: url('~/public/images/Link.cur'), auto;
}
body,
h1 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
    'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: @h-font-color;
  font-size: 14px;
  font-weight: 400;
}
body > * {
  position: absolute;
  width: 100%;
  z-index: 10;
}
code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}

.ant-divider-vertical,
.ant-divider-plain.ant-divider-with-text {
  border-left-color: rgb(170, 170, 170);
  border-top-color: rgb(170, 170, 170);
}

.ant-input-affix-wrapper {
  background-color: @h-bg-color-w;
  .ant-input {
    background-color: transparent;
  }
}

.ant-input-affix-wrapper {
  border-radius: @h-border-radius;
}
.ant-form-item-label > label {
  font-size: 18px;
}
.ant-timeline-item {
  font-size: 18px;
}
.ant-menu-item {
  .ant-menu-item-icon {
    font-size: 23px;
  }
  span {
    vertical-align: middle;
  }
}
.ant-back-top {
  animation: icon_jump 1s linear infinite;
  right: 30px;
}

// 公共
pre {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: @h-border-radius;
}
.opacity8 {
  opacity: 0.8;
}
.opacity6 {
  opacity: 0.6;
}
.h-card {
  width: 100%;
  overflow: hidden;
  border-radius: @h-border-radius;
  box-shadow: 0 1px 2px 0 rgb(34 36 38 / 15%);
  background-color: rgb(255, 255, 255);
}
.h-content {
  padding: 20px 40px;
  border-radius: @h-border-radius;
  background-color: #fff;
}
.h-card-shadow {
  // box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, @h-bg-color-w -6px -2px 16px 0px;
}
.h-text-shadow {
  // text-shadow: 1px 0 0 #fff;
  color: #333;
}
.h-text-card {
  padding-top: 30px;
}

// 滚动条
.layout::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 8px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}
.layout::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 8px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: #989898;
}
.layout::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  background: transparent;
}

// 动态效果
@keyframes icon_jump {
  0% {
    opacity: 0.8;
    transform: translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: translate(0, 3px);
  }
  100% {
    opacity: 0.8;
    transform: translate(0, 0);
  }
}
